<script>
$(function () { 
    
    $('<?php echo '#container-'.$idqchart; ?>').highcharts({
        data: {
            table: document.getElementById('<?php echo 'datatable-'.$idqchart; ?>')
        },
        chart: {
            type: 'column'
        },
        title: {
            text: null
              },
        yAxis: {
            allowDecimals: false,
            title: {
                text: 'Totales'
            }
        },
        credits: {
                enabled: false
            },
        tooltip: {
            formatter: function() {
                return '<b>'+ this.series.name +'</b><br/>'+
                    this.y +' '+ this.x.toLowerCase();
            }
        }
    });
});
</script> 